package com.kiki.song.domain.recommend;

import lombok.Data;

import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;

@Data
public class SongProfile {
    Long songId;
    String artist;      // 演唱者
    String type;       // 类型
    Set<String> tags;   // 歌曲标签（如"摇滚","怀旧"）

    public SongProfile(Long songId, String artist, String genre) {
        this.songId = songId;
        this.artist = artist;
        this.type = genre;
        this.tags = new HashSet<>(Arrays.asList(genre, artist));
    }
}
